package com.vren.addressParse.modules.addressParse.domain.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName:AddressDTO
 * @Description:
 * @Author: vren
 * @Date: 2022/6/24 14:57
 */
@Data
public class AddressDTO {

    @ApiModelProperty("待解析地址")
    @NotBlank(message = "请填写待解析地址")
    @ExcelProperty(index = 1)
    private String address;

    @ApiModelProperty("多条解析的时候返回在数据当中用于匹配")
    @ExcelProperty(index = 0)
    private String keyId;

}
